<?php /* @var $debate LypoStatement */ ?>
<?php use_helper('Date'); ?>

<?php if(count($debates)):?>
<ul class="debatelist">
<?php foreach($debates->getResults() as $debate):?>
	<li class="debaterow group">
		<em>"<?php echo $debate->getText(); ?>"</em>
		<?php echo sprintf('%s reactions of which ?? of your perfect opposites',$debate->getReactionCount()) ?>
		<span class="debate debate-<?php echo $debate->getId()?>">React now!</span>
	</li>
<?php endforeach?>
</ul>
<?php else: ?>
<p>There are no recent debates</p>
<?php endif;?>